package com.wd.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * Description: 收藏夹
 *
 * @author cq
 * @date
 */
public class Collection {
    private int id;
    private String username;
    private  int blogid;

    public Collection() {
    }

    public Collection(int id, String username, int blogid) {
        this.id = id;
        this.username = username;
        this.blogid = blogid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getBlogid() {
        return blogid;
    }

    public void setBlogid(int blogid) {
        this.blogid = blogid;
    }

    @Override
    public String toString() {
        return "Collection{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", blogid=" + blogid +
                '}';
    }
}
